﻿using System.Collections.Generic;

namespace JinYuan.Models
{

    /// <summary>
    /// 设备综合效率
    /// </summary>
    public class DeviceOEE
    {
        /// <summary>
        /// 生产总数
        /// </summary>
        public int TotalQty { set; get; }
        /// <summary>
        /// 良品数
        /// </summary>
        public int ProOKQty { set; get; }
        /// <summary>
        /// 良率
        /// </summary>
        public double YieldRate { set; get; }
        /// <summary>
        /// 稼动率
        /// </summary>
        public double UtilizationRate { set; get; }
        /// <summary>
        /// PPM
        /// </summary>
        public int PPM { set; get; }
        /// <summary>
        /// 风速仪器
        /// </summary>
        public List<double> listWindSpeed { set; get; }
        /// <summary>
        /// 报警
        /// </summary>
        public List<ChartDataType> ListAlarmData { set; get; }

        /// <summary>
        /// 不良统计
        /// </summary>
        public List<ChartDataType> ListNGData { set; get; }
    }





    public class Hour12Data
    {
        /// <summary>
        /// 12小时产能
        /// </summary>
        public List<List12HourData> chart12HourDatas { set; get; }
    }

    public class List12HourData
    {
        public List<string> dataTime { set; get; }
        public List<int> dataTotal { set; get; }
        public List<int> dataOk { set; get; }
        public List<double> dataLV { set; get; }
    }
}
